package com.furnitur.modules.portal.dto.order;

import lombok.Data;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class OrderCreateDTO {
    @NotNull(message = "地址ID不能为空")
    private Long addressId;
    
    @NotEmpty(message = "订单项不能为空")
    private List<OrderItemDTO> items;
} 